﻿using UnityEngine;
using System.Collections;
using System.Xml.Serialization;
using System.IO;

[XmlRoot("success")]
public class SuccessContainer {

	[XmlText]
	public string Message;


	public static SuccessContainer LoadFromText(string text)
	{
		var serializer = new XmlSerializer(typeof(SuccessContainer));
		return serializer.Deserialize (new StringReader (text)) as SuccessContainer;
	}
}
